//
//  HDApplyIndemnityThreeVCHeaderView.swift
//  HuaDaoPeifu
//
//  Created by 刘杰 on 2018/7/24.
//  Copyright © 2018年 paiyipai. All rights reserved.
//

import UIKit

class HDApplyIndemnityThreeVCHeaderView: UIView {
    @IBOutlet weak var shadowView: UIView!
    
    var showDetail:(()->())?
    
    @IBOutlet weak var nameLB: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        shadowView.layer.shadowColor = UIColor.lightGray.cgColor
        shadowView.layer.shadowOffset = CGSize(width: 5, height: 5)
        shadowView.layer.shadowRadius = 5
        shadowView.layer.shadowOpacity = 0.7
    }
    
    @IBAction func showApplyFormDetail(_ sender: UIButton) {
        if let block = showDetail {
            block()
        }
    }
    
    
}
